package iso3.pt.model;

public class Evaluacion
{

	private Integer id;
	private String concepto;
	private float nota;
	private Asignatura asignatura;
	private Alumno alumno;

	public Evaluacion()
	{
	}

	public Evaluacion(String concepto, float nota)
	{
		//this.id = id;
		this.concepto = concepto;
		this.nota = nota;
		this.asignatura = new Asignatura();
		this.alumno = new Alumno();
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getConcepto()
	{
		return concepto;
	}

	public void setConcepto(String concepto)
	{
		this.concepto = concepto;
	}

	public float getNota()
	{
		return nota;
	}

	public void setNota(float nota)
	{
		this.nota = nota;
	}

	public Asignatura getAsignatura()
	{
		return asignatura;
	}

	public void setAsignatura(Asignatura asignatura)
	{
		this.asignatura = asignatura;
	}

	public Alumno getAlumno()
	{
		return alumno;
	}

	public void setAlumno(Alumno alumno)
	{
		this.alumno = alumno;
	}

	public String toString()
	{
		return "(" + this.id + "|" + this.concepto + "|" + this.nota + "|"
				+ this.asignatura.toString() + ")";
	}
}
